/**
 * 
 */
package br.com.ctm.advogadope.util;

import org.apache.commons.codec.digest.DigestUtils;

/**
 * @author Cleber
 *
 */
public abstract class StringUtils {

	
	/**
	 * @param senha
	 * @return
	 */
	public static String getEncryptedSenhaSha1(String senha) {
		byte[] sha1 = DigestUtils.sha1(senha);
		return DigestUtils.sha1Hex(sha1);
	}
}
